package com.sc.nft.entity.vo.mall;


import com.sc.nft.enums.MallExchangeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ActivityExchangeV2VO {

    @ApiModelProperty("分组id")
    private String groupId;

    @ApiModelProperty("兑换检查")
    private Boolean checkExchange;

    @ApiModelProperty("活动兑换道具是否充足")
    private Boolean exchangePropEnough;

    @ApiModelProperty("最大可兑换数量")
    private BigDecimal maxTotalNum ;

    @ApiModelProperty("分组详情")
    private List<ActivityExchangeDTO> activityExchangeDTOList;

    @Data
    public static class ActivityExchangeDTO {
        @ApiModelProperty("1:消耗 2:持有")
        private Integer type;

        @ApiModelProperty("名称")
        private String name;

        @ApiModelProperty("兑换类型")
        private MallExchangeEnum exchangeType;

        @ApiModelProperty("消耗数量")
        private Integer count;

        @ApiModelProperty("持有数量")
        private String holdCount;

        @ApiModelProperty("关联图片")
        private String linkImage;
    }

}
